package com.ruoyi.common.core.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class SelectComboCardConfigVO {

    /**
     * 卡片ID
     */
    private Long id;

    /**
     * 套餐id
     */
    private Long comboId;

    /**
     * 套餐名称
     */
    @Excel(name = "套餐")
    private String comboName;

    /**
     * 卡号
     */
    @Excel(name = "卡号")
    private String cardNumber;

    /**
     * 卡密
     */
    @Excel(name = "卡密")
    private String cardKey;

    /**
     * 批次
     */
    @Excel(name = "批次")
    private Integer batch;

    /**
     * 状态：1-未核销，2-已核销，3-作废
     */
    private Integer status;

    /**
     * 兑换时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC")
    private Date exchangeTime;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC")
    private Date createdAt;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC")
    private Date updatedAt;
}
